package com.stylefeng.guns.modular.area.dao;

import com.stylefeng.guns.modular.area.model.BdapAreaPopPropHm;
import com.stylefeng.guns.modular.map.model.AreaHmModel;
import com.stylefeng.guns.modular.map.model.MyTimeType;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author xiongyao
 * @since 2018-03-22
 */
public interface BdapAreaPopPropHmMapper extends BaseMapper<BdapAreaPopPropHm> {

	List<BdapAreaPopPropHm> selectAreaHourPopulation(MyTimeType mytimeType);//区域实时客流

	List<AreaHmModel> selectAreaDmPeakPassenge(MyTimeType mytimeType);//区域日累计客流

	List<AreaHmModel> selectAreaPassingPerson(MyTimeType mytimeType);//区域途经人口
	List<BdapAreaPopPropHm> selectPassingDensityByTime(MyTimeType mytimeType);//客流密度
	
	List<BdapAreaPopPropHm> selectMaxDayTime(MyTimeType mytimeType);//查询最近一天的日期(天)
	
	List<BdapAreaPopPropHm> selectMaxHourTime(MyTimeType mytimeType);//查询最近一天的日期(小时)
	
    List<BdapAreaPopPropHm> selectAreaCellDataHmList(@Param("STAT_HOUR")String statHour, @Param("AREAIDS")String areaIds);

    List<BdapAreaPopPropHm> selectHistoryNumLineByTime(MyTimeType mytimeType);// 历史人数统计
    
    List<BdapAreaPopPropHm> selectAgePieByTime(MyTimeType mytimeType);// 用户年龄段分布
    
    List<BdapAreaPopPropHm> selectInnerNumsTime(MyTimeType mytimeType);// 省内用户数统计
    
    List<BdapAreaPopPropHm> selectSexByTime(MyTimeType mytimeType);// 用户性别统计
    
    List<BdapAreaPopPropHm> selectOutsideUsersByTime(MyTimeType mytimeType);// 省外用户数统计
    
    List<BdapAreaPopPropHm> selectPopulationDisByTime(MyTimeType mytimeType);// 人口分布统计
}
